# coding=utf-8
from src.db.basemodel import BaseModel, GetInteger, GetString, GetDatetime


class MaterialTypeQuantity(BaseModel):
    __tablename__ = 'material_type_quantity'

    id = GetInteger(primary_key=True, auto_increment=True)
    material_id = GetInteger()
    material_name = GetString(length=64)
    m_type = GetString(length=64)
    material_quantity = GetInteger(default=0)
    create_time = GetDatetime()
    effect_start = GetDatetime()
    effect_end = GetDatetime()
    is_del = GetInteger(default=0)
